// vue.config.js https://cli.vuejs.org/zh/config/
module.exports = {
    runtimeCompiler: false,
    // crossorigin: "anonymous",
    devServer: {
        proxy: {
            '/_api': {
                target: 'http://localhost:50014',
                pathRewrite: { '^/_api': '' }
            },
            '/opt/file': {
                target: 'http://localhost:50014',
            }
        }
    },
    productionSourceMap: false,
    // configureWebpack: {
    //     devtool: 'source-map'
    // }
    // configureWebpack: {
    //     entry: {
    //         app: ["babel-polyfill"]
    //     },
    // }
}